Download this Bacteria Food Hunt - Natural Selection NetLogo Model. You MUST have NetLogo installed on your computer to use the downloaded version of the model.
The software that you are using to explore the phenomenon of natural selection, NetLogo, has a feature called BehaviorSpace that can be used to conduct such experiments.
In this part you will use BehaviorSpace to conduct an experiment for investigating the effect of ENERGY-COST-PER-FLAGELLUM on 'avg. # of flagella' in the population after a certain time period.
- Go to "Tools" at the top of the screen and click "BehaviorSpace"
- Create a new experiment.
Vary variables as follows |
["trace-paths?" false]
["#-phenotypes" 6]
["resource-location" "around a central point"]
["visualize-phenotype" "flagella and color"]
["energy-cost-per-flagellum" [0.1 0.1 0.7]]
["initial-#-bacteria-per-phenotype" 8]
["resource-distribution" 40]
|
Repetitions |
5 |
Run combinations in sequential order |
Checked |
Measure runs using these reporters |
mean [phenotype] of bacteria |
Measure runs at every step |
Unchecked |
Setup commands |
setup |
Go commands |
go |
Time limit |
5000 |
- The independent variable in this experiment will be the energy-cost-per-flagellum. In order to vary the energy-cost-per-flagellum, you will use the the BehaviorSpace tool. The format below is for varying this parameter systematically.
["energy-cost-per-flagellum" [energy-cost-in-the-first-run step-size energy-cost-in-the-final-run] ]
- Press OK and run the experiment.
- Select "Table output".
- Uncheck "Update view" and "Update plots and monitors" to run the experiment faster.
- The output will be in the form of a "csv" file. You will open it in Excel to analyze your data.
[* In case if you have problems using the BehaviorSpace experiment, use this data for your analysis.]